using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;

namespace 信息记录系统
{
    public partial class Form3 : Form
    {
        public Form3()
        {
            InitializeComponent();
            String MyConStr = "server=;database=yishaadmin;uid=YiShaAdmin;Password=;";
            MySqlConnection conn = new MySqlConnection(MyConStr);
            conn.Open();
            if (conn.State == ConnectionState.Open)
            {
                for (int a = 10; a < 20; a = a + 1)
                {
                    MessageBox.Show("连接成功");
                }
                //  MessageBox.Show("连接成功");
                //conn.Close();
            }
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            /*for (int i = 0; i < 10000; i++)
            {
                this.textBox1.Text += i.ToString() + "\r\n";
                textBox1.Refresh();
                System.Threading.Thread.Sleep(100);
            }*/
        }

        private void Form3_Load(object sender, EventArgs e)
        {
            
        }
    }
}
